﻿using System;
using System.Collections.Generic;
using WpfModelEditor.Core.Plugins;

namespace BaseIoPlugin
{
    public class OsgbIoPlugin : IIoPlugin
    {
        private List<IoFormat> _supportedFormats;
        public OsgbIoPlugin()
        {
            _supportedFormats = new List<IoFormat>
            {
                new IoFormat
                {
                    Name="osgb",
                    Ext=".osgb"
                }
            };
        }
        public List<IoFormat> SupportedImportFormats => _supportedFormats;

        public List<IoFormat> SupportedExportFormats => _supportedFormats;

        public int Order => 100;

        public void Clearup()
        {
        }

        public void Initialize(IHost host)
        {
        }

        public LoadSaveResult Load(string path, string ext, out Scene scene)
        {
            scene = null;
            return LoadSaveResult.NotSupport;
        }
        public LoadSaveResult Save(string path, string ext, Scene scene)
        {
            return LoadSaveResult.NotSupport;
        }
    }
}
